﻿using System;
using System.Data;
using System.Data.Common;
using Liger.Common;
using Liger.Data;

namespace EasyFMS.Model
{

	/// <summary>
	/// 实体类vInstead
	/// </summary>
	[Serializable]
	public class vInstead : Entity 
	{ 
		 public vInstead() 
            : base("vInstead") 
        { 

        }


		#region Model
		private int _UID;
		private string _DeptCode1;
		private string _DeptName1;
		private string _DeptCode2;
		private string _DeptName2;
		private string _CustomerCode;
		private string _CustomerName;
		private string _SupplyCode;
		private string _SupplyName;
		private string _OrderNo;
		private int? _SeqNo;
		private string _DeclareNo;
		private string _Status;
		private string _FeeType;
		private string _Price;
		private string _Qty;
		private string _Currency;
		private string _Exchange;
		private string _Amount;
		private string _AmountGet;
		private string _AmountRemain1;
		private string _AmountPay;
		private string _AmountRemain2;
		private string _ReturnDate;
		private string _ApplyNote;
		private string _ApplyDate;
		private int? _UserApplyID;
		private string _RejectNote;
		private string _UserApply;
		private bool? _IsCommit;
		private int? _UserCommitID;
		private string _CommitDate;
		private string _UserCommit;
		private bool? _IsCheck;
		private int? _UserCheckID;
		private string _CheckDate;
		private string _CheckNote;
		private string _UserCheck;
		private bool? _IsVerify;
		private int? _UserVerifyID;
		private string _VerifyDate;
		private string _UserVerify;
		private bool? _IsPay;
		private int? _UserPayID;
		private string _UserPay;
		private string _PayNO;
		private string _PayDate;
		private bool? _IsGet;
		private int? _UserGetID;
		private string _UserGet;
		private string _GetDate;
		private bool? _IsSelect;
		private int? _UserCreateID;
		private string _CreateDate;
		private string _UserCreate;
		private int? _UserModifyID;
		private string _UserModify;
		private string _ModifyDate;
	 
		/// <summary>
		/// 
		/// </summary>
		public int UID
		{
			get{ return _UID; }
			set
			{
				this.OnPropertyValueChange(_.UID,_UID,value);
				this._UID = value;
			}
		}
		/// <summary>
		/// 
		/// </summary>
		public string DeptCode1
		{
			get{ return _DeptCode1; }
			set
			{
				this.OnPropertyValueChange(_.DeptCode1,_DeptCode1,value);
				this._DeptCode1 = value;
			}
		}
		/// <summary>
		/// 
		/// </summary>
		public string DeptName1
		{
			get{ return _DeptName1; }
			set
			{
				this.OnPropertyValueChange(_.DeptName1,_DeptName1,value);
				this._DeptName1 = value;
			}
		}
		/// <summary>
		/// 
		/// </summary>
		public string DeptCode2
		{
			get{ return _DeptCode2; }
			set
			{
				this.OnPropertyValueChange(_.DeptCode2,_DeptCode2,value);
				this._DeptCode2 = value;
			}
		}
		/// <summary>
		/// 
		/// </summary>
		public string DeptName2
		{
			get{ return _DeptName2; }
			set
			{
				this.OnPropertyValueChange(_.DeptName2,_DeptName2,value);
				this._DeptName2 = value;
			}
		}
		/// <summary>
		/// 
		/// </summary>
		public string CustomerCode
		{
			get{ return _CustomerCode; }
			set
			{
				this.OnPropertyValueChange(_.CustomerCode,_CustomerCode,value);
				this._CustomerCode = value;
			}
		}
		/// <summary>
		/// 
		/// </summary>
		public string CustomerName
		{
			get{ return _CustomerName; }
			set
			{
				this.OnPropertyValueChange(_.CustomerName,_CustomerName,value);
				this._CustomerName = value;
			}
		}
		/// <summary>
		/// 
		/// </summary>
		public string SupplyCode
		{
			get{ return _SupplyCode; }
			set
			{
				this.OnPropertyValueChange(_.SupplyCode,_SupplyCode,value);
				this._SupplyCode = value;
			}
		}
		/// <summary>
		/// 
		/// </summary>
		public string SupplyName
		{
			get{ return _SupplyName; }
			set
			{
				this.OnPropertyValueChange(_.SupplyName,_SupplyName,value);
				this._SupplyName = value;
			}
		}
		/// <summary>
		/// 
		/// </summary>
		public string OrderNo
		{
			get{ return _OrderNo; }
			set
			{
				this.OnPropertyValueChange(_.OrderNo,_OrderNo,value);
				this._OrderNo = value;
			}
		}
		/// <summary>
		/// 
		/// </summary>
		public int? SeqNo
		{
			get{ return _SeqNo; }
			set
			{
				this.OnPropertyValueChange(_.SeqNo,_SeqNo,value);
				this._SeqNo = value;
			}
		}
		/// <summary>
		/// 
		/// </summary>
		public string DeclareNo
		{
			get{ return _DeclareNo; }
			set
			{
				this.OnPropertyValueChange(_.DeclareNo,_DeclareNo,value);
				this._DeclareNo = value;
			}
		}
		/// <summary>
		/// 
		/// </summary>
		public string Status
		{
			get{ return _Status; }
			set
			{
				this.OnPropertyValueChange(_.Status,_Status,value);
				this._Status = value;
			}
		}
		/// <summary>
		/// 
		/// </summary>
		public string FeeType
		{
			get{ return _FeeType; }
			set
			{
				this.OnPropertyValueChange(_.FeeType,_FeeType,value);
				this._FeeType = value;
			}
		}
		/// <summary>
		/// 
		/// </summary>
		public string Price
		{
			get{ return _Price; }
			set
			{
				this.OnPropertyValueChange(_.Price,_Price,value);
				this._Price = value;
			}
		}
		/// <summary>
		/// 
		/// </summary>
		public string Qty
		{
			get{ return _Qty; }
			set
			{
				this.OnPropertyValueChange(_.Qty,_Qty,value);
				this._Qty = value;
			}
		}
		/// <summary>
		/// 
		/// </summary>
		public string Currency
		{
			get{ return _Currency; }
			set
			{
				this.OnPropertyValueChange(_.Currency,_Currency,value);
				this._Currency = value;
			}
		}
		/// <summary>
		/// 
		/// </summary>
		public string Exchange
		{
			get{ return _Exchange; }
			set
			{
				this.OnPropertyValueChange(_.Exchange,_Exchange,value);
				this._Exchange = value;
			}
		}
		/// <summary>
		/// 
		/// </summary>
		public string Amount
		{
			get{ return _Amount; }
			set
			{
				this.OnPropertyValueChange(_.Amount,_Amount,value);
				this._Amount = value;
			}
		}
		/// <summary>
		/// 
		/// </summary>
		public string AmountGet
		{
			get{ return _AmountGet; }
			set
			{
				this.OnPropertyValueChange(_.AmountGet,_AmountGet,value);
				this._AmountGet = value;
			}
		}
		/// <summary>
		/// 
		/// </summary>
		public string AmountRemain1
		{
			get{ return _AmountRemain1; }
			set
			{
				this.OnPropertyValueChange(_.AmountRemain1,_AmountRemain1,value);
				this._AmountRemain1 = value;
			}
		}
		/// <summary>
		/// 
		/// </summary>
		public string AmountPay
		{
			get{ return _AmountPay; }
			set
			{
				this.OnPropertyValueChange(_.AmountPay,_AmountPay,value);
				this._AmountPay = value;
			}
		}
		/// <summary>
		/// 
		/// </summary>
		public string AmountRemain2
		{
			get{ return _AmountRemain2; }
			set
			{
				this.OnPropertyValueChange(_.AmountRemain2,_AmountRemain2,value);
				this._AmountRemain2 = value;
			}
		}
		/// <summary>
		/// 
		/// </summary>
		public string ReturnDate
		{
			get{ return _ReturnDate; }
			set
			{
				this.OnPropertyValueChange(_.ReturnDate,_ReturnDate,value);
				this._ReturnDate = value;
			}
		}
		/// <summary>
		/// 
		/// </summary>
		public string ApplyNote
		{
			get{ return _ApplyNote; }
			set
			{
				this.OnPropertyValueChange(_.ApplyNote,_ApplyNote,value);
				this._ApplyNote = value;
			}
		}
		/// <summary>
		/// 
		/// </summary>
		public string ApplyDate
		{
			get{ return _ApplyDate; }
			set
			{
				this.OnPropertyValueChange(_.ApplyDate,_ApplyDate,value);
				this._ApplyDate = value;
			}
		}
		/// <summary>
		/// 
		/// </summary>
		public int? UserApplyID
		{
			get{ return _UserApplyID; }
			set
			{
				this.OnPropertyValueChange(_.UserApplyID,_UserApplyID,value);
				this._UserApplyID = value;
			}
		}
		/// <summary>
		/// 
		/// </summary>
		public string RejectNote
		{
			get{ return _RejectNote; }
			set
			{
				this.OnPropertyValueChange(_.RejectNote,_RejectNote,value);
				this._RejectNote = value;
			}
		}
		/// <summary>
		/// 
		/// </summary>
		public string UserApply
		{
			get{ return _UserApply; }
			set
			{
				this.OnPropertyValueChange(_.UserApply,_UserApply,value);
				this._UserApply = value;
			}
		}
		/// <summary>
		/// 
		/// </summary>
		public bool? IsCommit
		{
			get{ return _IsCommit; }
			set
			{
				this.OnPropertyValueChange(_.IsCommit,_IsCommit,value);
				this._IsCommit = value;
			}
		}
		/// <summary>
		/// 
		/// </summary>
		public int? UserCommitID
		{
			get{ return _UserCommitID; }
			set
			{
				this.OnPropertyValueChange(_.UserCommitID,_UserCommitID,value);
				this._UserCommitID = value;
			}
		}
		/// <summary>
		/// 
		/// </summary>
		public string CommitDate
		{
			get{ return _CommitDate; }
			set
			{
				this.OnPropertyValueChange(_.CommitDate,_CommitDate,value);
				this._CommitDate = value;
			}
		}
		/// <summary>
		/// 
		/// </summary>
		public string UserCommit
		{
			get{ return _UserCommit; }
			set
			{
				this.OnPropertyValueChange(_.UserCommit,_UserCommit,value);
				this._UserCommit = value;
			}
		}
		/// <summary>
		/// 
		/// </summary>
		public bool? IsCheck
		{
			get{ return _IsCheck; }
			set
			{
				this.OnPropertyValueChange(_.IsCheck,_IsCheck,value);
				this._IsCheck = value;
			}
		}
		/// <summary>
		/// 
		/// </summary>
		public int? UserCheckID
		{
			get{ return _UserCheckID; }
			set
			{
				this.OnPropertyValueChange(_.UserCheckID,_UserCheckID,value);
				this._UserCheckID = value;
			}
		}
		/// <summary>
		/// 
		/// </summary>
		public string CheckDate
		{
			get{ return _CheckDate; }
			set
			{
				this.OnPropertyValueChange(_.CheckDate,_CheckDate,value);
				this._CheckDate = value;
			}
		}
		/// <summary>
		/// 
		/// </summary>
		public string CheckNote
		{
			get{ return _CheckNote; }
			set
			{
				this.OnPropertyValueChange(_.CheckNote,_CheckNote,value);
				this._CheckNote = value;
			}
		}
		/// <summary>
		/// 
		/// </summary>
		public string UserCheck
		{
			get{ return _UserCheck; }
			set
			{
				this.OnPropertyValueChange(_.UserCheck,_UserCheck,value);
				this._UserCheck = value;
			}
		}
		/// <summary>
		/// 
		/// </summary>
		public bool? IsVerify
		{
			get{ return _IsVerify; }
			set
			{
				this.OnPropertyValueChange(_.IsVerify,_IsVerify,value);
				this._IsVerify = value;
			}
		}
		/// <summary>
		/// 
		/// </summary>
		public int? UserVerifyID
		{
			get{ return _UserVerifyID; }
			set
			{
				this.OnPropertyValueChange(_.UserVerifyID,_UserVerifyID,value);
				this._UserVerifyID = value;
			}
		}
		/// <summary>
		/// 
		/// </summary>
		public string VerifyDate
		{
			get{ return _VerifyDate; }
			set
			{
				this.OnPropertyValueChange(_.VerifyDate,_VerifyDate,value);
				this._VerifyDate = value;
			}
		}
		/// <summary>
		/// 
		/// </summary>
		public string UserVerify
		{
			get{ return _UserVerify; }
			set
			{
				this.OnPropertyValueChange(_.UserVerify,_UserVerify,value);
				this._UserVerify = value;
			}
		}
		/// <summary>
		/// 
		/// </summary>
		public bool? IsPay
		{
			get{ return _IsPay; }
			set
			{
				this.OnPropertyValueChange(_.IsPay,_IsPay,value);
				this._IsPay = value;
			}
		}
		/// <summary>
		/// 
		/// </summary>
		public int? UserPayID
		{
			get{ return _UserPayID; }
			set
			{
				this.OnPropertyValueChange(_.UserPayID,_UserPayID,value);
				this._UserPayID = value;
			}
		}
		/// <summary>
		/// 
		/// </summary>
		public string UserPay
		{
			get{ return _UserPay; }
			set
			{
				this.OnPropertyValueChange(_.UserPay,_UserPay,value);
				this._UserPay = value;
			}
		}
		/// <summary>
		/// 
		/// </summary>
		public string PayNO
		{
			get{ return _PayNO; }
			set
			{
				this.OnPropertyValueChange(_.PayNO,_PayNO,value);
				this._PayNO = value;
			}
		}
		/// <summary>
		/// 
		/// </summary>
		public string PayDate
		{
			get{ return _PayDate; }
			set
			{
				this.OnPropertyValueChange(_.PayDate,_PayDate,value);
				this._PayDate = value;
			}
		}
		/// <summary>
		/// 
		/// </summary>
		public bool? IsGet
		{
			get{ return _IsGet; }
			set
			{
				this.OnPropertyValueChange(_.IsGet,_IsGet,value);
				this._IsGet = value;
			}
		}
		/// <summary>
		/// 
		/// </summary>
		public int? UserGetID
		{
			get{ return _UserGetID; }
			set
			{
				this.OnPropertyValueChange(_.UserGetID,_UserGetID,value);
				this._UserGetID = value;
			}
		}
		/// <summary>
		/// 
		/// </summary>
		public string UserGet
		{
			get{ return _UserGet; }
			set
			{
				this.OnPropertyValueChange(_.UserGet,_UserGet,value);
				this._UserGet = value;
			}
		}
		/// <summary>
		/// 
		/// </summary>
		public string GetDate
		{
			get{ return _GetDate; }
			set
			{
				this.OnPropertyValueChange(_.GetDate,_GetDate,value);
				this._GetDate = value;
			}
		}
		/// <summary>
		/// 
		/// </summary>
		public bool? IsSelect
		{
			get{ return _IsSelect; }
			set
			{
				this.OnPropertyValueChange(_.IsSelect,_IsSelect,value);
				this._IsSelect = value;
			}
		}
		/// <summary>
		/// 
		/// </summary>
		public int? UserCreateID
		{
			get{ return _UserCreateID; }
			set
			{
				this.OnPropertyValueChange(_.UserCreateID,_UserCreateID,value);
				this._UserCreateID = value;
			}
		}
		/// <summary>
		/// 
		/// </summary>
		public string CreateDate
		{
			get{ return _CreateDate; }
			set
			{
				this.OnPropertyValueChange(_.CreateDate,_CreateDate,value);
				this._CreateDate = value;
			}
		}
		/// <summary>
		/// 
		/// </summary>
		public string UserCreate
		{
			get{ return _UserCreate; }
			set
			{
				this.OnPropertyValueChange(_.UserCreate,_UserCreate,value);
				this._UserCreate = value;
			}
		}
		/// <summary>
		/// 
		/// </summary>
		public int? UserModifyID
		{
			get{ return _UserModifyID; }
			set
			{
				this.OnPropertyValueChange(_.UserModifyID,_UserModifyID,value);
				this._UserModifyID = value;
			}
		}
		/// <summary>
		/// 
		/// </summary>
		public string UserModify
		{
			get{ return _UserModify; }
			set
			{
				this.OnPropertyValueChange(_.UserModify,_UserModify,value);
				this._UserModify = value;
			}
		}
		/// <summary>
		/// 
		/// </summary>
		public string ModifyDate
		{
			get{ return _ModifyDate; }
			set
			{
				this.OnPropertyValueChange(_.ModifyDate,_ModifyDate,value);
				this._ModifyDate = value;
			}
		}
		#endregion

		#region Method
		/// <summary>
		/// 获取列信息
		/// </summary>
		public override Field[] GetFields()
		{
			return new Field[] {
				_.UID,
				_.DeptCode1,
				_.DeptName1,
				_.DeptCode2,
				_.DeptName2,
				_.CustomerCode,
				_.CustomerName,
				_.SupplyCode,
				_.SupplyName,
				_.OrderNo,
				_.SeqNo,
				_.DeclareNo,
				_.Status,
				_.FeeType,
				_.Price,
				_.Qty,
				_.Currency,
				_.Exchange,
				_.Amount,
				_.AmountGet,
				_.AmountRemain1,
				_.AmountPay,
				_.AmountRemain2,
				_.ReturnDate,
				_.ApplyNote,
				_.ApplyDate,
				_.UserApplyID,
				_.RejectNote,
				_.UserApply,
				_.IsCommit,
				_.UserCommitID,
				_.CommitDate,
				_.UserCommit,
				_.IsCheck,
				_.UserCheckID,
				_.CheckDate,
				_.CheckNote,
				_.UserCheck,
				_.IsVerify,
				_.UserVerifyID,
				_.VerifyDate,
				_.UserVerify,
				_.IsPay,
				_.UserPayID,
				_.UserPay,
				_.PayNO,
				_.PayDate,
				_.IsGet,
				_.UserGetID,
				_.UserGet,
				_.GetDate,
				_.IsSelect,
				_.UserCreateID,
				_.CreateDate,
				_.UserCreate,
				_.UserModifyID,
				_.UserModify,
				_.ModifyDate
			};
		}
		/// <summary>
		/// 获取值信息
		/// </summary>
		public override object[] GetValues()
		{
			return new object[] {
				_UID,
				_DeptCode1,
				_DeptName1,
				_DeptCode2,
				_DeptName2,
				_CustomerCode,
				_CustomerName,
				_SupplyCode,
				_SupplyName,
				_OrderNo,
				_SeqNo,
				_DeclareNo,
				_Status,
				_FeeType,
				_Price,
				_Qty,
				_Currency,
				_Exchange,
				_Amount,
				_AmountGet,
				_AmountRemain1,
				_AmountPay,
				_AmountRemain2,
				_ReturnDate,
				_ApplyNote,
				_ApplyDate,
				_UserApplyID,
				_RejectNote,
				_UserApply,
				_IsCommit,
				_UserCommitID,
				_CommitDate,
				_UserCommit,
				_IsCheck,
				_UserCheckID,
				_CheckDate,
				_CheckNote,
				_UserCheck,
				_IsVerify,
				_UserVerifyID,
				_VerifyDate,
				_UserVerify,
				_IsPay,
				_UserPayID,
				_UserPay,
				_PayNO,
				_PayDate,
				_IsGet,
				_UserGetID,
				_UserGet,
				_GetDate,
				_IsSelect,
				_UserCreateID,
				_CreateDate,
				_UserCreate,
				_UserModifyID,
				_UserModify,
				_ModifyDate
			};
		} 
		/// <summary>
		/// 设置字段值
		/// </summary>
		public override void SetValue(string fieldName, object value)
        {
            switch (fieldName)
            { 
				case "UID":
                    this._UID = DataHelper.ConvertValue<int>(value);
                    break; 
				case "DeptCode1":
                    this._DeptCode1 = DataHelper.ConvertValue<string>(value);
                    break; 
				case "DeptName1":
                    this._DeptName1 = DataHelper.ConvertValue<string>(value);
                    break; 
				case "DeptCode2":
                    this._DeptCode2 = DataHelper.ConvertValue<string>(value);
                    break; 
				case "DeptName2":
                    this._DeptName2 = DataHelper.ConvertValue<string>(value);
                    break; 
				case "CustomerCode":
                    this._CustomerCode = DataHelper.ConvertValue<string>(value);
                    break; 
				case "CustomerName":
                    this._CustomerName = DataHelper.ConvertValue<string>(value);
                    break; 
				case "SupplyCode":
                    this._SupplyCode = DataHelper.ConvertValue<string>(value);
                    break; 
				case "SupplyName":
                    this._SupplyName = DataHelper.ConvertValue<string>(value);
                    break; 
				case "OrderNo":
                    this._OrderNo = DataHelper.ConvertValue<string>(value);
                    break; 
				case "SeqNo":
                    this._SeqNo = DataHelper.ConvertValue<int?>(value);
                    break; 
				case "DeclareNo":
                    this._DeclareNo = DataHelper.ConvertValue<string>(value);
                    break; 
				case "Status":
                    this._Status = DataHelper.ConvertValue<string>(value);
                    break; 
				case "FeeType":
                    this._FeeType = DataHelper.ConvertValue<string>(value);
                    break; 
				case "Price":
                    this._Price = DataHelper.ConvertValue<string>(value);
                    break; 
				case "Qty":
                    this._Qty = DataHelper.ConvertValue<string>(value);
                    break; 
				case "Currency":
                    this._Currency = DataHelper.ConvertValue<string>(value);
                    break; 
				case "Exchange":
                    this._Exchange = DataHelper.ConvertValue<string>(value);
                    break; 
				case "Amount":
                    this._Amount = DataHelper.ConvertValue<string>(value);
                    break; 
				case "AmountGet":
                    this._AmountGet = DataHelper.ConvertValue<string>(value);
                    break; 
				case "AmountRemain1":
                    this._AmountRemain1 = DataHelper.ConvertValue<string>(value);
                    break; 
				case "AmountPay":
                    this._AmountPay = DataHelper.ConvertValue<string>(value);
                    break; 
				case "AmountRemain2":
                    this._AmountRemain2 = DataHelper.ConvertValue<string>(value);
                    break; 
				case "ReturnDate":
                    this._ReturnDate = DataHelper.ConvertValue<string>(value);
                    break; 
				case "ApplyNote":
                    this._ApplyNote = DataHelper.ConvertValue<string>(value);
                    break; 
				case "ApplyDate":
                    this._ApplyDate = DataHelper.ConvertValue<string>(value);
                    break; 
				case "UserApplyID":
                    this._UserApplyID = DataHelper.ConvertValue<int?>(value);
                    break; 
				case "RejectNote":
                    this._RejectNote = DataHelper.ConvertValue<string>(value);
                    break; 
				case "UserApply":
                    this._UserApply = DataHelper.ConvertValue<string>(value);
                    break; 
				case "IsCommit":
                    this._IsCommit = DataHelper.ConvertValue<bool?>(value);
                    break; 
				case "UserCommitID":
                    this._UserCommitID = DataHelper.ConvertValue<int?>(value);
                    break; 
				case "CommitDate":
                    this._CommitDate = DataHelper.ConvertValue<string>(value);
                    break; 
				case "UserCommit":
                    this._UserCommit = DataHelper.ConvertValue<string>(value);
                    break; 
				case "IsCheck":
                    this._IsCheck = DataHelper.ConvertValue<bool?>(value);
                    break; 
				case "UserCheckID":
                    this._UserCheckID = DataHelper.ConvertValue<int?>(value);
                    break; 
				case "CheckDate":
                    this._CheckDate = DataHelper.ConvertValue<string>(value);
                    break; 
				case "CheckNote":
                    this._CheckNote = DataHelper.ConvertValue<string>(value);
                    break; 
				case "UserCheck":
                    this._UserCheck = DataHelper.ConvertValue<string>(value);
                    break; 
				case "IsVerify":
                    this._IsVerify = DataHelper.ConvertValue<bool?>(value);
                    break; 
				case "UserVerifyID":
                    this._UserVerifyID = DataHelper.ConvertValue<int?>(value);
                    break; 
				case "VerifyDate":
                    this._VerifyDate = DataHelper.ConvertValue<string>(value);
                    break; 
				case "UserVerify":
                    this._UserVerify = DataHelper.ConvertValue<string>(value);
                    break; 
				case "IsPay":
                    this._IsPay = DataHelper.ConvertValue<bool?>(value);
                    break; 
				case "UserPayID":
                    this._UserPayID = DataHelper.ConvertValue<int?>(value);
                    break; 
				case "UserPay":
                    this._UserPay = DataHelper.ConvertValue<string>(value);
                    break; 
				case "PayNO":
                    this._PayNO = DataHelper.ConvertValue<string>(value);
                    break; 
				case "PayDate":
                    this._PayDate = DataHelper.ConvertValue<string>(value);
                    break; 
				case "IsGet":
                    this._IsGet = DataHelper.ConvertValue<bool?>(value);
                    break; 
				case "UserGetID":
                    this._UserGetID = DataHelper.ConvertValue<int?>(value);
                    break; 
				case "UserGet":
                    this._UserGet = DataHelper.ConvertValue<string>(value);
                    break; 
				case "GetDate":
                    this._GetDate = DataHelper.ConvertValue<string>(value);
                    break; 
				case "IsSelect":
                    this._IsSelect = DataHelper.ConvertValue<bool?>(value);
                    break; 
				case "UserCreateID":
                    this._UserCreateID = DataHelper.ConvertValue<int?>(value);
                    break; 
				case "CreateDate":
                    this._CreateDate = DataHelper.ConvertValue<string>(value);
                    break; 
				case "UserCreate":
                    this._UserCreate = DataHelper.ConvertValue<string>(value);
                    break; 
				case "UserModifyID":
                    this._UserModifyID = DataHelper.ConvertValue<int?>(value);
                    break; 
				case "UserModify":
                    this._UserModify = DataHelper.ConvertValue<string>(value);
                    break; 
				case "ModifyDate":
                    this._ModifyDate = DataHelper.ConvertValue<string>(value);
                    break; 
            }
        }
		/// <summary>
		/// 获取字段值
		/// </summary>
        public override object GetValue(string fieldName)
        {
            switch (fieldName)
            { 
				case "UID":
                    return this._UID; 
				case "DeptCode1":
                    return this._DeptCode1; 
				case "DeptName1":
                    return this._DeptName1; 
				case "DeptCode2":
                    return this._DeptCode2; 
				case "DeptName2":
                    return this._DeptName2; 
				case "CustomerCode":
                    return this._CustomerCode; 
				case "CustomerName":
                    return this._CustomerName; 
				case "SupplyCode":
                    return this._SupplyCode; 
				case "SupplyName":
                    return this._SupplyName; 
				case "OrderNo":
                    return this._OrderNo; 
				case "SeqNo":
                    return this._SeqNo; 
				case "DeclareNo":
                    return this._DeclareNo; 
				case "Status":
                    return this._Status; 
				case "FeeType":
                    return this._FeeType; 
				case "Price":
                    return this._Price; 
				case "Qty":
                    return this._Qty; 
				case "Currency":
                    return this._Currency; 
				case "Exchange":
                    return this._Exchange; 
				case "Amount":
                    return this._Amount; 
				case "AmountGet":
                    return this._AmountGet; 
				case "AmountRemain1":
                    return this._AmountRemain1; 
				case "AmountPay":
                    return this._AmountPay; 
				case "AmountRemain2":
                    return this._AmountRemain2; 
				case "ReturnDate":
                    return this._ReturnDate; 
				case "ApplyNote":
                    return this._ApplyNote; 
				case "ApplyDate":
                    return this._ApplyDate; 
				case "UserApplyID":
                    return this._UserApplyID; 
				case "RejectNote":
                    return this._RejectNote; 
				case "UserApply":
                    return this._UserApply; 
				case "IsCommit":
                    return this._IsCommit; 
				case "UserCommitID":
                    return this._UserCommitID; 
				case "CommitDate":
                    return this._CommitDate; 
				case "UserCommit":
                    return this._UserCommit; 
				case "IsCheck":
                    return this._IsCheck; 
				case "UserCheckID":
                    return this._UserCheckID; 
				case "CheckDate":
                    return this._CheckDate; 
				case "CheckNote":
                    return this._CheckNote; 
				case "UserCheck":
                    return this._UserCheck; 
				case "IsVerify":
                    return this._IsVerify; 
				case "UserVerifyID":
                    return this._UserVerifyID; 
				case "VerifyDate":
                    return this._VerifyDate; 
				case "UserVerify":
                    return this._UserVerify; 
				case "IsPay":
                    return this._IsPay; 
				case "UserPayID":
                    return this._UserPayID; 
				case "UserPay":
                    return this._UserPay; 
				case "PayNO":
                    return this._PayNO; 
				case "PayDate":
                    return this._PayDate; 
				case "IsGet":
                    return this._IsGet; 
				case "UserGetID":
                    return this._UserGetID; 
				case "UserGet":
                    return this._UserGet; 
				case "GetDate":
                    return this._GetDate; 
				case "IsSelect":
                    return this._IsSelect; 
				case "UserCreateID":
                    return this._UserCreateID; 
				case "CreateDate":
                    return this._CreateDate; 
				case "UserCreate":
                    return this._UserCreate; 
				case "UserModifyID":
                    return this._UserModifyID; 
				case "UserModify":
                    return this._UserModify; 
				case "ModifyDate":
                    return this._ModifyDate; 
				default :
                    return null;
            } 
        }



		#endregion

		#region _Field
		/// <summary>
		/// 字段信息
		/// </summary>
		public class _
		{
			/// <summary>
			/// * 
			/// </summary>
			public readonly static Field All = new Field("*","vInstead");
 
			/// <summary>
			/// 
			/// </summary>
			public readonly static Field UID = new Field("UID","vInstead","UID");
			/// <summary>
			/// 
			/// </summary>
			public readonly static Field DeptCode1 = new Field("DeptCode1","vInstead","DeptCode1");
			/// <summary>
			/// 
			/// </summary>
			public readonly static Field DeptName1 = new Field("DeptName1","vInstead","DeptName1");
			/// <summary>
			/// 
			/// </summary>
			public readonly static Field DeptCode2 = new Field("DeptCode2","vInstead","DeptCode2");
			/// <summary>
			/// 
			/// </summary>
			public readonly static Field DeptName2 = new Field("DeptName2","vInstead","DeptName2");
			/// <summary>
			/// 
			/// </summary>
			public readonly static Field CustomerCode = new Field("CustomerCode","vInstead","CustomerCode");
			/// <summary>
			/// 
			/// </summary>
			public readonly static Field CustomerName = new Field("CustomerName","vInstead","CustomerName");
			/// <summary>
			/// 
			/// </summary>
			public readonly static Field SupplyCode = new Field("SupplyCode","vInstead","SupplyCode");
			/// <summary>
			/// 
			/// </summary>
			public readonly static Field SupplyName = new Field("SupplyName","vInstead","SupplyName");
			/// <summary>
			/// 
			/// </summary>
			public readonly static Field OrderNo = new Field("OrderNo","vInstead","OrderNo");
			/// <summary>
			/// 
			/// </summary>
			public readonly static Field SeqNo = new Field("SeqNo","vInstead","SeqNo");
			/// <summary>
			/// 
			/// </summary>
			public readonly static Field DeclareNo = new Field("DeclareNo","vInstead","DeclareNo");
			/// <summary>
			/// 
			/// </summary>
			public readonly static Field Status = new Field("Status","vInstead","Status");
			/// <summary>
			/// 
			/// </summary>
			public readonly static Field FeeType = new Field("FeeType","vInstead","FeeType");
			/// <summary>
			/// 
			/// </summary>
			public readonly static Field Price = new Field("Price","vInstead","Price");
			/// <summary>
			/// 
			/// </summary>
			public readonly static Field Qty = new Field("Qty","vInstead","Qty");
			/// <summary>
			/// 
			/// </summary>
			public readonly static Field Currency = new Field("Currency","vInstead","Currency");
			/// <summary>
			/// 
			/// </summary>
			public readonly static Field Exchange = new Field("Exchange","vInstead","Exchange");
			/// <summary>
			/// 
			/// </summary>
			public readonly static Field Amount = new Field("Amount","vInstead","Amount");
			/// <summary>
			/// 
			/// </summary>
			public readonly static Field AmountGet = new Field("AmountGet","vInstead","AmountGet");
			/// <summary>
			/// 
			/// </summary>
			public readonly static Field AmountRemain1 = new Field("AmountRemain1","vInstead","AmountRemain1");
			/// <summary>
			/// 
			/// </summary>
			public readonly static Field AmountPay = new Field("AmountPay","vInstead","AmountPay");
			/// <summary>
			/// 
			/// </summary>
			public readonly static Field AmountRemain2 = new Field("AmountRemain2","vInstead","AmountRemain2");
			/// <summary>
			/// 
			/// </summary>
			public readonly static Field ReturnDate = new Field("ReturnDate","vInstead","ReturnDate");
			/// <summary>
			/// 
			/// </summary>
			public readonly static Field ApplyNote = new Field("ApplyNote","vInstead","ApplyNote");
			/// <summary>
			/// 
			/// </summary>
			public readonly static Field ApplyDate = new Field("ApplyDate","vInstead","ApplyDate");
			/// <summary>
			/// 
			/// </summary>
			public readonly static Field UserApplyID = new Field("UserApplyID","vInstead","UserApplyID");
			/// <summary>
			/// 
			/// </summary>
			public readonly static Field RejectNote = new Field("RejectNote","vInstead","RejectNote");
			/// <summary>
			/// 
			/// </summary>
			public readonly static Field UserApply = new Field("UserApply","vInstead","UserApply");
			/// <summary>
			/// 
			/// </summary>
			public readonly static Field IsCommit = new Field("IsCommit","vInstead","IsCommit");
			/// <summary>
			/// 
			/// </summary>
			public readonly static Field UserCommitID = new Field("UserCommitID","vInstead","UserCommitID");
			/// <summary>
			/// 
			/// </summary>
			public readonly static Field CommitDate = new Field("CommitDate","vInstead","CommitDate");
			/// <summary>
			/// 
			/// </summary>
			public readonly static Field UserCommit = new Field("UserCommit","vInstead","UserCommit");
			/// <summary>
			/// 
			/// </summary>
			public readonly static Field IsCheck = new Field("IsCheck","vInstead","IsCheck");
			/// <summary>
			/// 
			/// </summary>
			public readonly static Field UserCheckID = new Field("UserCheckID","vInstead","UserCheckID");
			/// <summary>
			/// 
			/// </summary>
			public readonly static Field CheckDate = new Field("CheckDate","vInstead","CheckDate");
			/// <summary>
			/// 
			/// </summary>
			public readonly static Field CheckNote = new Field("CheckNote","vInstead","CheckNote");
			/// <summary>
			/// 
			/// </summary>
			public readonly static Field UserCheck = new Field("UserCheck","vInstead","UserCheck");
			/// <summary>
			/// 
			/// </summary>
			public readonly static Field IsVerify = new Field("IsVerify","vInstead","IsVerify");
			/// <summary>
			/// 
			/// </summary>
			public readonly static Field UserVerifyID = new Field("UserVerifyID","vInstead","UserVerifyID");
			/// <summary>
			/// 
			/// </summary>
			public readonly static Field VerifyDate = new Field("VerifyDate","vInstead","VerifyDate");
			/// <summary>
			/// 
			/// </summary>
			public readonly static Field UserVerify = new Field("UserVerify","vInstead","UserVerify");
			/// <summary>
			/// 
			/// </summary>
			public readonly static Field IsPay = new Field("IsPay","vInstead","IsPay");
			/// <summary>
			/// 
			/// </summary>
			public readonly static Field UserPayID = new Field("UserPayID","vInstead","UserPayID");
			/// <summary>
			/// 
			/// </summary>
			public readonly static Field UserPay = new Field("UserPay","vInstead","UserPay");
			/// <summary>
			/// 
			/// </summary>
			public readonly static Field PayNO = new Field("PayNO","vInstead","PayNO");
			/// <summary>
			/// 
			/// </summary>
			public readonly static Field PayDate = new Field("PayDate","vInstead","PayDate");
			/// <summary>
			/// 
			/// </summary>
			public readonly static Field IsGet = new Field("IsGet","vInstead","IsGet");
			/// <summary>
			/// 
			/// </summary>
			public readonly static Field UserGetID = new Field("UserGetID","vInstead","UserGetID");
			/// <summary>
			/// 
			/// </summary>
			public readonly static Field UserGet = new Field("UserGet","vInstead","UserGet");
			/// <summary>
			/// 
			/// </summary>
			public readonly static Field GetDate = new Field("GetDate","vInstead","GetDate");
			/// <summary>
			/// 
			/// </summary>
			public readonly static Field IsSelect = new Field("IsSelect","vInstead","IsSelect");
			/// <summary>
			/// 
			/// </summary>
			public readonly static Field UserCreateID = new Field("UserCreateID","vInstead","UserCreateID");
			/// <summary>
			/// 
			/// </summary>
			public readonly static Field CreateDate = new Field("CreateDate","vInstead","CreateDate");
			/// <summary>
			/// 
			/// </summary>
			public readonly static Field UserCreate = new Field("UserCreate","vInstead","UserCreate");
			/// <summary>
			/// 
			/// </summary>
			public readonly static Field UserModifyID = new Field("UserModifyID","vInstead","UserModifyID");
			/// <summary>
			/// 
			/// </summary>
			public readonly static Field UserModify = new Field("UserModify","vInstead","UserModify");
			/// <summary>
			/// 
			/// </summary>
			public readonly static Field ModifyDate = new Field("ModifyDate","vInstead","ModifyDate");
		}
		#endregion

 
	}
}

